/*
 * Copyright (c) 2018 - 2028. www.vtuzx.com Inc. All Rights Reserved
 */
package com.vtuzx.kingdee.xqc_core.constant;

import com.vtuzx.core.constant.IVtuzxEnum;

/**
 * 出入库区分
 */
public enum StockStatus implements IVtuzxEnum<StockStatus> {
    /** 入库 */
    In("in"),
    /** 出库 */
    Out("out");

    /** 枚举值 */
    private final String _key;

    /**
     * 初始化枚举值
     *
     * @param key 键值
     */
    StockStatus(String key) {
        this._key = key;
    }

    /**
     * 重写toString
     *
     * @return 键值
     */
    public String toString() {
        return _key;
    }
}
